package com.sky.mapper;

import org.apache.ibatis.annotations.Select;

// Mapper
public interface DishSetmealMapper {

    // 根据id查询套餐是否包含某菜品
    @Select("select count(*) from setmeal_dish t2 where t2.dish_id = #{dishId}")
    public Integer countByDishId(Long dishId);

}
